package com.dwjm.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student {
    private String studentId;
    private String name;
    private String gender;
    private String address;
    private String role;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime birthDate;
    private String idCardNumber;
    private String college;
    private String major;
    private String className;
    private String status;
    private Integer dormId;
    private String bedNumber;
    private String phone;
    private String email;
    private String emergencyContact;
    private String username;
    private String password;
}
